import request from '@/utils/request'


export function selectOrderIng() {
    return request({
        url: '/order/selectCount',
        method: 'get'
    })
}

export function selectAllMileage() {
    return request({
        url: '/order/selectAllMileage',
        method: 'get'
    })
}

/**
 * 行程列表
 * @returns {*}
 */
export function getOrderList() {
    return request({
        url: '/order/history/list',
        method: 'get'
    })
}

/**
 * 删除订单
 * @param id
 * @returns {*}
 */
export function delById(id) {
    return request({
        url: '/order/delById/' + id,
        method: 'get'
    })
}
